<template>
  <el-container>
    <el-header height="20"></el-header>
    <el-container>
      <el-aside width="120"><sider></sider></el-aside>
      <el-main><router-view></router-view></el-main>
    </el-container>
  </el-container>
</template>

<script>
// @ is an alias to /src

import Sider from '@/views/layout/Sider.vue';

export default {
  name: 'Home',
  components: {
    Sider
  },
  methods: {
    goto(){
      console.log("goto");
      this.$router.push({path:"/config?name=cloud",query:{age:23}})
    }
  },
  mounted() {
    // this.goto();
  },
}
</script>
<style>
  .home{
    display: flex;
  }
</style>